The trait of open operation and the method of adaptive structuring element go into particulars, and the segmentation of sphere target is settled in special circumstances, and it is programmed with Visual C++ 6.0. At last, segmentation results were compared in several conditions. 详细叙述了自适应腐蚀模板的生成技术,解决了特定情况下的球形目标的分割问题,并应用Visualc++6.0进行编程实现。最后,给出了几种情况下的分割效果比较图。